package com.结构型模式.适配器.实例;

/**适配器
 * @author chenhs
 * @date 2020/10/14
 */
public class Adaptee implements UseEngineBraking {
	private  IEngine engine;
	public  Adaptee( IEngine engine){
		this.engine =engine;
	}
	@Override
	public void use() {
		engine.movement();
	}
}
